package com.it.blog.entity;

/**
 * @Author: 羡羡
 * @Date: 2022/02/04/10:57
 */
public class TypeCount {

    /**
     * 类型ID
     */
    public int articletypeid;
    /**
     * 类型名称
     */
    public String artypename;
    /**
     * 类别统计的数
     */
    public int typecount;

    public int getArticletypeid() {
        return articletypeid;
    }

    public void setArticletypeid(int articletypeid) {
        this.articletypeid = articletypeid;
    }

    public String getArtypename() {
        return artypename;
    }

    public void setArtypename(String artypename) {
        this.artypename = artypename;
    }

    public int getTypecount() {
        return typecount;
    }

    public void setTypecount(int typecount) {
        this.typecount = typecount;
    }

    public TypeCount() {
    }

    public TypeCount(String artypename, int typecount) {
        this.artypename = artypename;
        this.typecount = typecount;
    }

    public TypeCount(int articletypeid, String artypename, int typecount) {
        this.articletypeid = articletypeid;
        this.artypename = artypename;
        this.typecount = typecount;
    }

    @Override
    public String toString() {
        return "\nTypeCount{" +
                "articletypeid=" + articletypeid +
                ", artypename='" + artypename + '\'' +
                ", typecount=" + typecount +
                '}';
    }
}
